package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 收藏店铺
 * </p>
 *
 * @author leehao
 * @since 2019-05-16
 */
@TableName("c_collect_bus")
public class CCollectBus implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer cid;

    /**
     * 店铺id
     */
    private Integer bid;

    /**
     * 店铺图片
     */
    private String burl;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 收藏状态 1是0否
     */
    private Integer status;

    /**
     * 店铺被收藏数
     */
    @TableField(exist = false)
    private Integer collectNum;

    /**
     * 店铺商家商品数
     */
    @TableField(exist = false)
    private Integer productNum;

    /**
     * 收藏状态
     */
    @TableField(exist = false)
    private Integer collectFlag;

    /**
     * 店铺类型名称
     */
    @TableField(exist = false)
    private String bTypeName;

    /**
     * 店铺名称
     */
    @TableField(exist = false)
    private String businessName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }
    public String getBurl() {
        return burl;
    }

    public void setBurl(String burl) {
        this.burl = burl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Integer collectNum) {
        this.collectNum = collectNum;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCollectFlag() {
        return collectFlag;
    }

    public void setCollectFlag(Integer collectFlag) {
        this.collectFlag = collectFlag;
    }

    public String getbTypeName() {
        return bTypeName;
    }

    public void setbTypeName(String bTypeName) {
        this.bTypeName = bTypeName;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    @Override
    public String toString() {
        return "CCollectBus{" +
        "id=" + id +
        ", cid=" + cid +
        ", bid=" + bid +
        ", burl=" + burl +
        ", createTime=" + createTime +
        "}";
    }
}
